Gallery linked to Main screen
formatted code ,now app opens diff screens based on push type