cleanup styles and add finished state