* fixed errors in method ''selectButton".