Add check for selected item on tapping the  done action  icon