Added preference page and preference button in home page