Andrew always has been special. He has a way of manipulating reality to his will, and no one really knows why. You figure his reality-warping powers will make his wishes not backfire, so you head to his house and give him the lamp.
Andrew knew you were coming, so he had already came up with a brilliant wish before you arrived.