Fixed bug where percentage value stays after entering wrong API key