added cancel button to activity