Fixed broken life cicle in FileActivity