Made the CCActivity interact with its XML view