Issue #48 - Incorrect check for "Is periodic updates enabled" state

Rewritten to use non deprecated methods.