Move the implementation to applet class like cinnamon panel launcher.