fixed undefined function enable/disable [issue 313]

this is the fix for issue 313: https://github.com/01org/appframework/issues/313