Added a getter for the current panel state enum