Changes to Main.php

Tried to get .click to work, only got halfway there.