Since we're using the exact same logic for all existing buttons, we can just get the list of available ones and loop through them.
Since we're using the exact same logic for all existing buttons, we can just get the list of available ones and loop through them.