Finished button functionality and added stack window