Use filter_input() and do widget option update sanity check