Added on click functions.