Added check_swap_activity