some refactoring + share added to form view