Added string of error message for no period selected in edit activity