preemptive button functionality (sorry for ugly code lola)
Merge branch 'master' of https://github.com/tliu91/PhotoFlow-server