Fixed opening correct application settings from notification

Fixed #717