switched buttonTapped to return string instead of object