ok, cancel button misplaced after clicking on settings icon