-changed handleTap to onTap