enable selecting layer