basic button pused event handling
fixed docs