button moved & canceled functions