Fix clear panel when nothing selected

Clears the panel upon refresh so antiquated data doesn't show and disables buttons when nothing is selected