added auto text selection in settings and enter handling

signal onAccepted (enter key)
handling of onAccepted signal