add desktop notification function