Fixed Settings saving logic for memory options

Signed-off-by: Dalton Pelc <daltonjpelc@gmail.com>