select_program,change_program and store flash, bugs corrigidos