fixing changed observer method in GUI