refactor setting service
fix form designer issues