added share functionality and select generation in settings