added service restart on key change