Fixed issue on toggle button.

Change-Id: I54d1c4d5a5bfb78277b6f294df47348839c408f3