gui configuration on click