fix for setting active state, updated readme