Modified keyboard_widget