Blast, you caught me out Sarath ! :
I deliberately left out the config of the Flip key because I don't know its exact designation within Kodi. Clearly it's some kind of back/forward menu command - LIRC calls it KEY_ANGLE which is of course no use at all.
I can only suggest looking all the way through the Navigation section of Keymap Editor and see if anything suits it.
Let us know here if you find something and I will add it to the wiki.
Re your RGYB issue, I suspect you would need a macro to get Slice to access the main menu icons - I assume you are trying to program the buttons to access the main menu from anywhere in Kodi??