Added code to check if the user input anything at all in the activity boxes.