added logic to allow switch between bases after hitting 'equals'
added logic to fix equals clear to remaining keys