Enable finish button method

i create a method to enable finish button and use it in my application, also i send you a pull request with that improvement