Added styling and option text
Added option_text script which is used handle option text logic
Refactored the option text code to remove duplication
Added comments and removed redundant rowCount inc