Minor fix to GUI

This may cause fields following priority to be filled with incorrect information if left unfixed
Example:
dependencies field contains "normal"