Created Equal button function