add validation not to delete perspective, goals if they are used in relation
refactor the goals and perspective list methods
refactor: added condition for can not delete dependant goals and perspectives
worked on data syncing from setting to task