fix toggle switch won't refresh correctly

Enviroment:
	Gecko: (firefox / firefox os simulator)

Reproduce Steps:
	1. have a default toggle switch view with boolean values
	2. set toggle to true (from js), it works
	3. set toggle to false (from js), it works
	3. set toggle to true (from js), faild, the ui remains on true(on)
Merge pull request #112 from denehs/fix_toggle

fix toggle switch won't refresh correctly