Cancel leave screen with some code changes for Apply Leave screen