Showing controls based on types