To control soft-keyboard appearance in ChangeActivity