Fix null pointer crash in pause screen timer