Add possibility to select line and delete it. The line to be selected will be highlighted. TODO: refactor.