Fixed change which made the app useless offline
Rewrote select all/select none using angular instead
Checking response code instead of online status

So that it actually works during offline -> online transition