Added action to insert a newline