TODO: Fix resetPanel method in MainTypePanel