Add active state to platforms

fixes #28