Bug fixes + extra appointment functionality

General Bug fixes, including database error. Included selecting
appointment from both staff and appointment time - The dropdown list
updates every time selection is made.