code refactoring and added light peers settings page - name change functionality