Change conditional for selector click