NotificationPanelView: check if file exists rather than if its null

the file will always be non null, which turns this statement to true
rather check if the file exists before using it, which makes more sense

Change-Id: Ied61406773ffcdb0d4fb63bf34ae21c8dff00918