Remove unrequired property buttonTexts from EmojiPageView
Code optimization
remove repeated code in if/else statements
Handle rotation for keyboard