Main case state started (need to test)
New Keypad function. needs to be tested
testing keypadscan()