Prevent info message box from being displayed so many times