Moved handle click function to search mixin