Made the app detect Input Source changes, and react accordingly.