TokeTime iOS 10

This is TokeTime updated for iOS 10+, with some minor issues.