Radiative feedback from massive black holes in elliptical galaxies. AGN flaring and central starburst fueled by recycled gas