edited validation of activity length to not accept negative numbers

edited validation of activity length to not accept negative numbers