Implemented enable/disable apps

Signed-off-by: Pedro Nunes <pgh.nunes@gmail.com>