disable restore and flash buttons if respective .img file is not present