Changed some things in the views / Added getting diag time constraints from localStorage and into form