Added onclick to change elements.