Input handling on application level (instead of control level)