Modified the web application again for applying restriction on the date in the activity module, the date that can be selected on it should be the date today only. Tested the changes, and it is now taking effect. Pulled changes from the git, after successfully pulling, commit and pushed my changes.