Added call to remove the empty view (e.g. in case of error where you want to show something else)