Fix displaying of priorities
Handle empty task title input case