add select_tag, toggle_tag ang swap_screen functions