Added priority to the GUI