refactor notify application

change attribute that does a query to a property - so the query will be done only when the property is needed
change % operator to format