Turn wApplication{Activate,Deactivate} into real functions