UI improvement: closing fragments which are obsolete