Fixed string selection bug; added UI