Set active state on computer