Implemented cancel build
Added build flags dialog