You don't have to mess about with the json wallet file. Just type the following in the electrum gui console:
wallet.storage.put( 'gap_limit', 100)
The above command sets it to a 100 but you can, of course, use any number you like. Remember to restart electrum after you do the above!
Yes but I want to get rid of this red color.