show third layout when altgr is pressed, preserve shift, caps status when input method is updated