Fix issue where addon config wasn't saved to db