Created Preferences option in the actionbar and changed the homescreen