Merge pull request #4 from stefan-chekanov/master

Keep users online for some amount of time
Merge pull request #5 from stefan-chekanov/master

Updated the algorythm to detect and keep devices online:
Minor fixes related to the latest update of the network detection algorithm
Fixed callback
Merge pull request #6 from ironsteel/master

Fixed callback