Fixed back button issue after a new board is loaded.