Add click to input and use it in gui