Fixed the refresh of the main activity. The button names update when returning to the activity from settings.