Change use cardlayout.

I change state mechine to instead use Cardlayout now.

Please looks, if need some change again.