Improved button activation