removed duplicated code in ability
removed duplicated code in project successful/unsuccessful notification conditional