The little magnet on the side is actually a quite ingenious design aspect of Google Cardboard. It's a button! Since you can't touch your phone's screen while it's inside the Cardboard, Google has provided this magnet that, when moved, acts as if you've pressed your screen. It uses your phone's magnetometer, which is usually used for compass functions, to sense this and control it while it's in the cardboard.