Silver Challenge - Create new line after item selected for delete

Did silver challenge. Fix bug where if use creates new line while line
selected for possible deletion, the selected line will be moved instead
of new line being created