Adding notifications for receipt validation and fixing static analyser issues