Fix MainActivity compilation error