This is actually being defined inside the `listenForUserActivity` function. It needs to be moved after the next ending curly brace.