Added preference activity and attached it to the menu item