Re-factors toggles;

Signed-off-by: ashwinh <ashwinh@cybage.com>