toggling btw buttons using handleClick instead of onClick