Modified pick related tables.

Removed a state variable active from pick table and moved it to pick_state. Modified pick_state variable names to make them easier to understand.