Currently the extension restart does not really restart the extension, but only executes the activate function again. It would be better to restart the extension which includes executing functionality outside of the activate function again e.g settings reading