Removed unused resourceManager in MainActivity