Fix to handle device admin setting and add throwable method