Refactored code in AchievementsView, buttons on PreDay