Fix view options setting

#423