Changed onEvnet to return boolean and consume event on true