Fix unable to uncheck the mount read only check box

Change-Id: I1bbc25df6f35f79549f1eb06feb4db9ec0475aa5
diff --git a/gui/devices/landscape/res/landscape.xml b/gui/devices/landscape/res/landscape.xml
index 529aef7..b416691 100644
--- a/gui/devices/landscape/res/landscape.xml
+++ b/gui/devices/landscape/res/landscape.xml
@@ -995,7 +995,7 @@
 				<condition var1="tw_mount_system_ro" op="=" var2="0" />
 				<text>Only mount system read-only</text>
 				<image resource="checkbox_false" />
-				<action function="mountsystemtoggle"></action>
+				<action function="mountsystemtoggle">1</action>
 			</object>
 
 			<object type="button">
@@ -1062,18 +1062,15 @@
 			</object>
 
 			<object type="action">
-				<conditions>
-					<condition var1="tw_operation_state" var2="1" />
-					<condition var1="tw_lifetime_writes" var2="1" />
-				</conditions>
-				<action function="page">mount</action>
+				<condition var1="tw_lifetime_writes" var2="1" />
+				<actions>
+					<action function="mountsystemtoggle">0</action>
+					<action function="page">mount</action>
+				</actions>
 			</object>
 
 			<object type="action">
-				<conditions>
-					<condition var1="tw_operation_state" var2="1" />
-					<condition var1="tw_lifetime_writes" var2="0" />
-				</conditions>
+				<condition var1="tw_lifetime_writes" var2="0" />
 				<actions>
 					<action function="set">tw_back=mount</action>
 					<action function="page">system_readonly</action>
@@ -3696,7 +3693,7 @@
 				<placement x="%col_center_x%" y="%row7_text_y%" />
 				<text>Keep Read Only</text>
 				<actions>
-					<action function="set">tw_mount_system_ro=1</action>
+					<action function="mountsystemtoggle">1</action>
 					<action function="set">tw_page_done=1</action>
 					<action function="page">%tw_back%</action>
 				</actions>
@@ -3705,7 +3702,7 @@
 			<object type="slider">
 				<text>Swipe to Allow Modifications</text>
 				<actions>
-					<action function="set">tw_mount_system_ro=0</action>
+					<action function="mountsystemtoggle">0</action>
 					<action function="set">tw_page_done=1</action>
 					<action function="page">%tw_back%</action>
 				</actions>