Convert CardLayout to GridView and not linearLayout

This will be useful because we can use an adapter.