Fixed bug editing wrong row settings