Stopped error message from showing if api keys have not been entered yet.