Added some sanity checks on post settings

When pre-selecting values on pickers we didn't check if the selected row
was valid and it crashed

resolves #14