Added Main state in MainState