OOGUI Logic imporvement and added methods

Added select methods to make logic better and improved logic inside the
listener.