added cancel button to selected item