added is_assigned property to check multiple clicks