Processing UI code for Splash screen and Instruction Screen