button states

added map state
Merge pull request #16 from AppGroup/master

change