Blackberry sells legacy patents, still plans to launch phone this year