added sorting to workflow list of Appointment.
upgraded add new appointment dialog. Fix small errors.
Addeв class for settings.