Fixed double program occurence in the database
Cleaned OpenHandler