refactored and added selection binding for textArea
added default selection for text configuration
added selection to text configuration