execute keyboard handler on every call