Undelegate events after click any button