Added book activation/deactivation functionality