Better licence check logic in main and details views