Change MainActivity and open library file.