Use a more generic solution by tracking previous mode and exit only if we're back to previous mode.
Use a more generic solution by tracking previous mode and exit only if we're back to previous mode.

FTG-003/brackets,Live4Code/brackets,baig/brackets,amrelnaggar/brackets,tan9/brackets,rlugojr/brackets,rlugojr/brackets,treejames/brackets,hanmichael/brackets,gideonthomas/brackets,Lojsan123/brackets,Rajat-dhyani/brackets,chrismoulton/brackets,82488059/brackets,Free-Technology-Guild/brackets,keir-rex/brackets,ricciozhang/brackets,cdot-brackets-extensions/nimble-htmlLint,NGHGithub/brackets,fastrde/brackets,SebastianBoyd/sebastianboyd.github.io-OLD,ForkedRepos/brackets,falcon1812/brackets,wesleifreitas/brackets,ecwebservices/brackets,MantisWare/brackets,cdot-brackets-extensions/nimble-htmlLint,michaeljayt/brackets,wangjun/brackets,CapeSepias/brackets,NickersF/brackets,srhbinion/brackets,NKcentinel/brackets,jmarkina/brackets,tan9/brackets,ralic/brackets,SidBala/brackets,kilroy23/brackets,chinnyannieb/brackets,zaggino/brackets-electron,stowball/brackets,NickersF/brackets,ashleygwilliams/brackets,rlugojr/brackets,fcjailybo/brackets,fashionsun/brackets,ChaofengZhou/brackets,Jonavin/brackets,petetnt/brackets,chinnyannieb/brackets,riselabs-ufba/RiPLE-HC-ExperimentalData,Free-Technology-Guild/brackets,abhisekp/brackets,chrisle/brackets,fastrde/brackets,No9/brackets,sprintr/brackets,fabricadeaplicativos/brackets,phillipalexander/brackets,iamchathu/brackets,y12uc231/brackets,ChaofengZhou/brackets,youprofit/brackets,ChaofengZhou/brackets,sgupta7857/brackets,Andrey-Pavlov/brackets,shal1y/brackets,Andrey-Pavlov/brackets,petetnt/brackets,gwynndesign/brackets,chinnyannieb/brackets,emanziano/brackets,FTG-003/brackets,Cartman0/brackets,flukeout/brackets,petetnt/brackets,fcjailybo/brackets,sgupta7857/brackets,stowball/brackets,srhbinion/brackets,srinivashappy/brackets,baig/brackets,pomadgw/brackets,MarcelGerber/brackets,alexkid64/brackets,amrelnaggar/brackets,andrewnc/brackets,marcominetti/brackets,fabricadeaplicativos/brackets,robertkarlsson/brackets,thehogfather/brackets,ashleygwilliams/brackets,resir014/brackets,bidle/brackets,weebygames/brackets,tan9/brackets,show0017/brackets,gideonthomas/brackets,gcommetti/brackets,chrisle/brackets,No9/brackets,phillipalexander/brackets,sedge/nimble,macdg/brackets,massimiliano76/brackets,phillipalexander/brackets,jiimaho/brackets,ScalaInc/brackets,Rynaro/brackets,siddharta1337/brackets,cosmosgenius/brackets,ecwebservices/brackets,ls2uper/brackets,shiyamkumar/brackets,xantage/brackets,revi/brackets,gupta-tarun/brackets,cdot-brackets-extensions/nimble-htmlLint,SebastianBoyd/sebastianboyd.github.io-OLD,wakermahmud/brackets,cdot-brackets-extensions/nimble-htmlLint,CapeSepias/brackets,jiawenbo/brackets,lunode/brackets,macdg/brackets,lunode/brackets,ls2uper/brackets,Wikunia/brackets,lunode/brackets,mat-mcloughlin/brackets,kilroy23/brackets,RobertJGabriel/brackets,wangjun/brackets,alexkid64/brackets,robertkarlsson/brackets,CapeSepias/brackets,richmondgozarin/brackets,ashleygwilliams/brackets,srinivashappy/brackets,zhukaixy/brackets,Wikunia/brackets,RamirezWillow/brackets,Jonavin/brackets,bidle/brackets,Pomax/brackets,Mosoc/brackets,siddharta1337/brackets,chrisle/brackets,ecwebservices/brackets,alexkid64/brackets,fastrde/brackets,thr0w/brackets,gwynndesign/brackets,revi/brackets,flukeout/brackets,riselabs-ufba/RiPLE-HC-ExperimentalData,lovewitty/brackets,sprintr/brackets,sophiacaspar/brackets,riselabs-ufba/RiPLE-HC-ExperimentalData,alexkid64/brackets,albertinad/brackets,macdg/brackets,hanmichael/brackets,chinnyannieb/brackets,arduino-org/ArduinoStudio,sgupta7857/brackets,dtcom/MyPSDBracket,veveykocute/brackets,abhisekp/brackets,nucliweb/brackets,netlams/brackets,massimiliano76/brackets,resir014/brackets,quasto/ArduinoStudio,chrismoulton/brackets,wesleifreitas/brackets,udhayam/brackets,srhbinion/brackets,humphd/brackets,pratts/brackets,albertinad/brackets,wesleifreitas/brackets,GHackAnonymous/brackets,zLeonjo/brackets,MarcelGerber/brackets,falcon1812/brackets,netlams/brackets,fvntr/brackets,dtcom/MyPSDBracket,jiimaho/brackets,goldcase/brackets,SidBala/brackets,xantage/brackets,quasto/ArduinoStudio,GHackAnonymous/brackets,hanmichael/brackets,shal1y/brackets,keir-rex/brackets,flukeout/brackets,Andrey-Pavlov/brackets,phillipalexander/brackets,fronzec/brackets,adobe/brackets,jacobnash/brackets,Andrey-Pavlov/brackets,ashleygwilliams/brackets,shiyamkumar/brackets,dangkhue27/brackets,arduino-org/ArduinoStudio,mat-mcloughlin/brackets,Mosoc/brackets,StephanieMak/brackets,rafaelstz/brackets,NKcentinel/brackets,treejames/brackets,y12uc231/brackets,youprofit/brackets,stowball/brackets,L0g1k/brackets,siddharta1337/brackets,ficristo/brackets,L0g1k/brackets,fronzec/brackets,uwsd/brackets,NKcentinel/brackets,sophiacaspar/brackets,Fcmam5/brackets,petetnt/brackets,fronzec/brackets,MantisWare/brackets,ficristo/brackets,hanmichael/brackets,ls2uper/brackets,ScalaInc/brackets,emanziano/brackets,Andrey-Pavlov/brackets,dangkhue27/brackets,macdg/brackets,youprofit/brackets,tan9/brackets,FTG-003/brackets,andrewnc/brackets,2youyouo2/cocoslite,jiimaho/brackets,StephanieMak/brackets,rlugojr/brackets,ChaofengZhou/brackets,chambej/brackets,SebastianBoyd/sebastianboyd.github.io-OLD,chrismoulton/brackets,richmondgozarin/brackets,Real-Currents/brackets,karevn/brackets,weebygames/brackets,busykai/brackets,ricciozhang/brackets,karevn/brackets,xantage/brackets,robertkarlsson/brackets,jiawenbo/brackets,MahadevanSrinivasan/brackets,wangjun/brackets,michaeljayt/brackets,resir014/brackets,fabricadeaplicativos/brackets,IAmAnubhavSaini/brackets,show0017/brackets,ForkedRepos/brackets,raygervais/brackets,adrianhartanto0/brackets,cosmosgenius/brackets,veveykocute/brackets,kolipka/brackets,richmondgozarin/brackets,RobertJGabriel/brackets,wangjun/brackets,SidBala/brackets,brianjking/brackets,weebygames/brackets,humphd/brackets,Rynaro/brackets,revi/brackets,marcominetti/brackets,NGHGithub/brackets,treejames/brackets,kolipka/brackets,brianjking/brackets,fashionsun/brackets,albertinad/brackets,MantisWare/brackets,stowball/brackets,Fcmam5/brackets,mjurczyk/brackets,SebastianBoyd/sebastianboyd.github.io-OLD,jacobnash/brackets,StephanieMak/brackets,ForkedRepos/brackets,Rynaro/brackets,albertinad/brackets,mat-mcloughlin/brackets,zLeonjo/brackets,FTG-003/brackets,thr0w/brackets,TylerL-uxai/brackets,riselabs-ufba/RiPLE-HC-ExperimentalData,fronzec/brackets,ricciozhang/brackets,karevn/brackets,udhayam/brackets,humphd/brackets,revi/brackets,ggusman/present,netlams/brackets,gideonthomas/brackets,ricciozhang/brackets,malinkie/brackets,abhisekp/brackets,simon66/brackets,MarcelGerber/brackets,NickersF/brackets,pomadgw/brackets,busykai/brackets,jmarkina/brackets,ralic/brackets,youprofit/brackets,veveykocute/brackets,ficristo/brackets,2youyouo2/cocoslite,IAmAnubhavSaini/brackets,Mosoc/brackets,gcommetti/brackets,uwsd/brackets,youprofit/brackets,StephanieMak/brackets,Wikunia/brackets,alicoding/nimble,siddharta1337/brackets,MarcelGerber/brackets,sgupta7857/brackets,riselabs-ufba/RiPLE-HC-ExperimentalData,brianjking/brackets,fabricadeaplicativos/brackets,gwynndesign/brackets,robertkarlsson/brackets,zLeonjo/brackets,82488059/brackets,fvntr/brackets,chambej/brackets,mozilla/brackets,rafaelstz/brackets,Real-Currents/brackets,Cartman0/brackets,chrismoulton/brackets,quasto/ArduinoStudio,chrismoulton/brackets,gideonthomas/brackets,zhukaixy/brackets,kolipka/brackets,Cartman0/brackets,baig/brackets,ropik/brackets,thr0w/brackets,wangjun/brackets,wakermahmud/brackets,ralic/brackets,gwynndesign/brackets,weebygames/brackets,rafaelstz/brackets,chambej/brackets,fashionsun/brackets,Fcmam5/brackets,MahadevanSrinivasan/brackets,fastrde/brackets,amrelnaggar/brackets,hanmichael/brackets,Real-Currents/brackets,cosmosgenius/brackets,gupta-tarun/brackets,ralic/brackets,adrianhartanto0/brackets,ls2uper/brackets,Free-Technology-Guild/brackets,xantage/brackets,petetnt/brackets,82488059/brackets,ficristo/brackets,karevn/brackets,resir014/brackets,treejames/brackets,NickersF/brackets,L0g1k/brackets,simon66/brackets,Rajat-dhyani/brackets,flukeout/brackets,Jonavin/brackets,keir-rex/brackets,GHackAnonymous/brackets,amrelnaggar/brackets,kolipka/brackets,RobertJGabriel/brackets,mjurczyk/brackets,pkdevbox/brackets,jmarkina/brackets,raygervais/brackets,pkdevbox/brackets,Rajat-dhyani/brackets,MantisWare/brackets,bidle/brackets,eric-stanley/brackets,rafaelstz/brackets,ecwebservices/brackets,sedge/nimble,Free-Technology-Guild/brackets,Mosoc/brackets,goldcase/brackets,thr0w/brackets,Pomax/brackets,SidBala/brackets,wesleifreitas/brackets,mjurczyk/brackets,Fcmam5/brackets,bidle/brackets,eric-stanley/brackets,gupta-tarun/brackets,srinivashappy/brackets,alicoding/nimble,fashionsun/brackets,MahadevanSrinivasan/brackets,wakermahmud/brackets,fashionsun/brackets,eric-stanley/brackets,Jonavin/brackets,robertkarlsson/brackets,Lojsan123/brackets,Rynaro/brackets,MantisWare/brackets,dtcom/MyPSDBracket,Pomax/brackets,adobe/brackets,shiyamkumar/brackets,mozilla/brackets,show0017/brackets,falcon1812/brackets,quasto/ArduinoStudio,RobertJGabriel/brackets,Live4Code/brackets,wakermahmud/brackets,riselabs-ufba/RiPLE-HC-ExperimentalData,TylerL-uxai/brackets,keir-rex/brackets,MahadevanSrinivasan/brackets,m66n/brackets,GHackAnonymous/brackets,uwsd/brackets,phillipalexander/brackets,simon66/brackets,m66n/brackets,pomadgw/brackets,pomadgw/brackets,malinkie/brackets,massimiliano76/brackets,busykai/brackets,mjurczyk/brackets,siddharta1337/brackets,jiawenbo/brackets,mcanthony/brackets,andrewnc/brackets,arduino-org/ArduinoStudio,malinkie/brackets,shal1y/brackets,lovewitty/brackets,Cartman0/brackets,rafaelstz/brackets,lovewitty/brackets,iamchathu/brackets,RamirezWillow/brackets,Pomax/brackets,pkdevbox/brackets,fabricadeaplicativos/brackets,kolipka/brackets,ggusman/present,thehogfather/brackets,wesleifreitas/brackets,zaggino/brackets-electron,y12uc231/brackets,iamchathu/brackets,fcjailybo/brackets,lovewitty/brackets,falcon1812/brackets,Rynaro/brackets,sgupta7857/brackets,fvntr/brackets,thehogfather/brackets,kilroy23/brackets,fcjailybo/brackets,karevn/brackets,srinivashappy/brackets,richmondgozarin/brackets,fvntr/brackets,thr0w/brackets,zaggino/brackets-electron,xantage/brackets,keir-rex/brackets,srhbinion/brackets,chrisle/brackets,mozilla/brackets,sophiacaspar/brackets,ScalaInc/brackets,iamchathu/brackets,macdg/brackets,goldcase/brackets,NKcentinel/brackets,arduino-org/ArduinoStudio,zhukaixy/brackets,emanziano/brackets,82488059/brackets,richmondgozarin/brackets,cosmosgenius/brackets,m66n/brackets,ScalaInc/brackets,CapeSepias/brackets,raygervais/brackets,fvntr/brackets,gideonthomas/brackets,JordanTheriault/brackets,shiyamkumar/brackets,Rajat-dhyani/brackets,gupta-tarun/brackets,zhukaixy/brackets,IAmAnubhavSaini/brackets,StephanieMak/brackets,iamchathu/brackets,andrewnc/brackets,sedge/nimble,chambej/brackets,2youyouo2/cocoslite,michaeljayt/brackets,abhisekp/brackets,jiawenbo/brackets,L0g1k/brackets,pratts/brackets,dtcom/MyPSDBracket,ScalaInc/brackets,pratts/brackets,weebygames/brackets,chambej/brackets,thehogfather/brackets,flukeout/brackets,jiimaho/brackets,nucliweb/brackets,Free-Technology-Guild/brackets,IAmAnubhavSaini/brackets,Mosoc/brackets,ralic/brackets,dangkhue27/brackets,ropik/brackets,Th30/brackets,ChaofengZhou/brackets,IAmAnubhavSaini/brackets,zaggino/brackets-electron,Wikunia/brackets,Th30/brackets,sedge/nimble,NGHGithub/brackets,RobertJGabriel/brackets,zLeonjo/brackets,eric-stanley/brackets,michaeljayt/brackets,pratts/brackets,No9/brackets,FTG-003/brackets,mozilla/brackets,sprintr/brackets,chrisle/brackets,Live4Code/brackets,m66n/brackets,Lojsan123/brackets,ashleygwilliams/brackets,y12uc231/brackets,MarcelGerber/brackets,ropik/brackets,ggusman/present,adobe/brackets,kilroy23/brackets,goldcase/brackets,andrewnc/brackets,ggusman/present,m66n/brackets,fcjailybo/brackets,TylerL-uxai/brackets,chinnyannieb/brackets,srinivashappy/brackets,jmarkina/brackets,Real-Currents/brackets,baig/brackets,jiawenbo/brackets,shiyamkumar/brackets,baig/brackets,sedge/nimble,mjurczyk/brackets,jiimaho/brackets,busykai/brackets,thehogfather/brackets,alexkid64/brackets,shal1y/brackets,Wikunia/brackets,jacobnash/brackets,nucliweb/brackets,Lojsan123/brackets,gcommetti/brackets,sprintr/brackets,mat-mcloughlin/brackets,2youyouo2/cocoslite,srhbinion/brackets,goldcase/brackets,brianjking/brackets,ls2uper/brackets,alicoding/nimble,Pomax/brackets,massimiliano76/brackets,Th30/brackets,gcommetti/brackets,emanziano/brackets,raygervais/brackets,abhisekp/brackets,simon66/brackets,mcanthony/brackets,bidle/brackets,sophiacaspar/brackets,uwsd/brackets,raygervais/brackets,dangkhue27/brackets,shal1y/brackets,show0017/brackets,pomadgw/brackets,CapeSepias/brackets,adobe/brackets,busykai/brackets,simon66/brackets,pratts/brackets,Rajat-dhyani/brackets,jmarkina/brackets,Cartman0/brackets,mozilla/brackets,jacobnash/brackets,Th30/brackets,zLeonjo/brackets,JordanTheriault/brackets,Th30/brackets,udhayam/brackets,zhukaixy/brackets,tan9/brackets,NickersF/brackets,JordanTheriault/brackets,ForkedRepos/brackets,kilroy23/brackets,SidBala/brackets,udhayam/brackets,pkdevbox/brackets,MahadevanSrinivasan/brackets,malinkie/brackets,nucliweb/brackets,Lojsan123/brackets,uwsd/brackets,ricciozhang/brackets,adrianhartanto0/brackets,eric-stanley/brackets,amrelnaggar/brackets,netlams/brackets,sophiacaspar/brackets,stowball/brackets,No9/brackets,Live4Code/brackets,michaeljayt/brackets,gcommetti/brackets,mcanthony/brackets,zaggino/brackets-electron,zaggino/brackets-electron,ForkedRepos/brackets,malinkie/brackets,Real-Currents/brackets,resir014/brackets,udhayam/brackets,adrianhartanto0/brackets,nucliweb/brackets,lovewitty/brackets,mcanthony/brackets,dangkhue27/brackets,humphd/brackets,veveykocute/brackets,mcanthony/brackets,NGHGithub/brackets,falcon1812/brackets,JordanTheriault/brackets,revi/brackets,quasto/ArduinoStudio,Real-Currents/brackets,veveykocute/brackets,2youyouo2/cocoslite,adrianhartanto0/brackets,adobe/brackets,RamirezWillow/brackets,rlugojr/brackets,massimiliano76/brackets,lunode/brackets,TylerL-uxai/brackets,pkdevbox/brackets,treejames/brackets,RamirezWillow/brackets,alicoding/nimble,ropik/brackets,lunode/brackets,JordanTheriault/brackets,gupta-tarun/brackets,Fcmam5/brackets,jacobnash/brackets,ficristo/brackets,humphd/brackets,NGHGithub/brackets,netlams/brackets,albertinad/brackets,GHackAnonymous/brackets,fronzec/brackets,arduino-org/ArduinoStudio,Live4Code/brackets,wakermahmud/brackets,ecwebservices/brackets,No9/brackets,Jonavin/brackets,RamirezWillow/brackets,y12uc231/brackets,fastrde/brackets,SebastianBoyd/sebastianboyd.github.io-OLD,sprintr/brackets,brianjking/brackets,NKcentinel/brackets,TylerL-uxai/brackets,82488059/brackets,emanziano/brackets