Increases counter when screen turns on.