Update quickfix window when swtiching buffers.

When switching between buffers, the quickfix window does not automatically update. This patch checks when a BufEnter event happens, and refreshes the quickfix window.