Some code improvements
Only play message notify when toxy is minimized