main activity uprades changes made in alarm activity