Fixed small bugs with detail view and implemented priority colors.