alarm manager working and refreshing works