finishing up by adding in highlights when pressing buttons, refactoring pref saving code, fixing pref saving bug