Made timeout for all necessary buttons in editor