added select activity and listeners