Bug fixes in GUI for collecting data