Fixing issue where virtual keyboard is hidden after pressing "send"