set button focus and make conditional checks for equality clear