As we discussed offline, please try to move the UI logic outside the panel. I did a minimum change for your reference (https://github.com/crh0716/gaia/commit/e872965677c6f5589691683f9a32ee40c8d9fd19).