Added callback in mouseClicked