This is the most amazingly working code of the Front Panel.

Guys this is how its done LOL