custom cancel/done button
fix compile error
fix deprecated warnings
add project