refreshing deviceinformation on locking