Finished Preference Activity Programming.