Starting to try to show the IME at the right times. Change-Id: Idc681304c309022666a03c26885a5c94ab4ec2a2