Fixed course pinning

Courses are now pinned as they were. The only trouble is that theres currently no good way of simulating the CanExecute property with AppBar without resorting to weird code.