-Fixed issue with buttons not immediately appearing or disappearing when added or removed from code.