touch buttons triggering events correctly