added switch to hide/show inofficial appointments